//专门管理请求地址的js
const baseUrl = {
  dev: "http://localhost:3000",
  pro: "http://shop.bluej.cn/api",
};
const api = {
  //获取商品列表api
  goods: baseUrl.pro + "/goods",
  //获取轮播图的api
  lunbo: baseUrl.pro + "/carousel",
  //获取商品分类的api
  classify: baseUrl.pro + "/classify/classifyGoods",
  //用户登陆
  login: baseUrl.pro + "/login",
  //购物车的api
  cart: baseUrl.pro + "/shoppingCart",
  //城市的api
  city: baseUrl.pro + "/city",
  //地址的api
  address: baseUrl.pro + "/address",
};

export default api;
